package com.sixteengroup.personnelms.bean.to;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author a
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RevSalary {
    int id;
    int base;
    String base1;
    int bonus;
    String date;

    public void setDate(String date) {
        this.date = date.substring(0,10);
    }
}
